-
Couldn't load subscription status.
- Fork 100
Various improvements to the HiGHS interface #418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Before, only coefficients were changed. This now fails on HiGHS, which doesn't properly reset the objective before setting a new one.
Used incorrect types before.
Rs/highs fixes
Return -1 if constraint not found
substitute highsbox for highspy
…ariable-integrality 6 fix failing tests query variable integrality
upgrade python for doing the math fork to python3.13
|
When I ran tests locally, I got errors (actually crashes) with CBC, but if I just test
It all works fine. EDIT: See |
|
I've also made a change to the pre-commit configuration (upgrade flake8) to avoid an error that happens during the first of the checks. |
High-level summary:
highspytohighsbox, becausehighspywas not meant to be used that way, which caused problems on some platformsvar_get_index/constr_get_index, when a user asks for a variable/constraint with an invalid nameset_objective, where we now first reset the objective with all-zero coefficientsget_var_type, with work-around for purely continuous problems